export const PLUGIN_ID = 'pluginTestUrl';
export const PLUGIN_NAME = '测试插件';

export const API_PREFIX = "/api/testData"

export interface optionsType {
  baseUrl: string;
  payload?: any;
  headers?: any;
  redirects?: number;
  beforeRedirect?: any;
  redirected?: any;
  timeout?: number; // default: unlimited
  maxBytes?: number; // default: unlimited
  rejectUnauthorized?: boolean;
  secureProtocol?: string; // The SSL method to use
  ciphers?: string; // The TLS ciphers to support
}

const BASE_TESTDATA_URI = '/_plugins/_testData';

export const ELASTICSEARCH_TESTDATA_API = {
  GET_TESTDATA: `${BASE_TESTDATA_URI}/testData`,
  TESTDATA: `${BASE_TESTDATA_URI}/testData`,
};